Blitz (28/40)

From:Nick Clover
Date:24 Sep 2001 at 13:59:43
Subject:Re: How to get amount of total Chip/Fast memory

Hello Thilo

On 24-Sep-01, you wrote:

> Hello Th.

> Sorry, you missunderstood me.
> I need the total amount of memory installed, e.g. 128MB if
> you have 128MB installed. NOT the available free
> memory.
> Background:
> I want to calculate the percentage of free memory.
> so I need the free memory AND the total memory of the system.

> e.g.

> 100 * 102,5 MB / 128,0 MB = 81,3 % free memory

freememory.l = 100 * AvailMem_($0) / AvailMem_($80000)

Regards






Nick Clover - http://come.to/amigaklub



A4000/060, 128Mb, PicassoIV, Paloma, KTX 17" Monitor, Punchinello II

IDE: 10.1 & 13.8 Gb HD, SCSI: Fujitsu 18Gb HD, Sony CDU625-S CD

2x Sony CDD2600 CDR, Aiwa ACD300, Ricoh 8x8x32 CDrw

Brother HL1250 Laser, HP890c Inkjet, Generic V90 Modem, Trust Ergo Keyboard


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie